package com.lengyu.vxminiprogram.entity;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lengyu.vxminiprogram.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyu
 * @since 2024-11-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Car对象", description="")
public class Car extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String userId;

    @ApiModelProperty(value = "微信openid")
    private String vxOpenId;

    @ApiModelProperty(value = "需求")
    private String need;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "发车日期")
    private Date carDate;


    @DateTimeFormat(pattern="hh:mm")
    @JsonFormat(pattern = "HH:mm")
    @ApiModelProperty(value = "发车时间")
    private LocalTime carTime;

    @ApiModelProperty(value = "时长")
    private Integer playHours;

    @ApiModelProperty(value = "装等")
    private Integer gs;

    @ApiModelProperty(value = "职业")
    private String career;

    @ApiModelProperty(value = "位置")
    private String position;

    @ApiModelProperty(value = "我能提供")
    private String provide;

    private Boolean deleteFlag;


}
